home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / bmenu54.zip / EXAMPLE4.BAT < prev    next >
DOS Batch File  |  1990-02-12  |  1KB  |  68 lines

  1. echo off
  2. REM
  3. REM  Example batch file for BMENU 5.0 using '@file' input
  4. REM
  5. echo Multi-menu @file example, with user defined colors
  6. echo 
  7. echo Menu is found after $defined in Example4.bat
  8. echo 
  9. echo usage: bmenu @example4.bat defined
  10. echo 
  11. bmenu @example4.bat defined
  12. for %%1 in (0 1 2 3 4 5 6) do if errorlevel %%1 goto %%1
  13. :6
  14. echo You chose ZIP-to-LZH
  15. goto done
  16. :5
  17. echo You chose PAK-to-LZH
  18. goto done
  19. :4
  20. echo you chose ARC-to-LZH
  21. goto done
  22. :3
  23. echo you chose PAK-to-ZIP
  24. goto done
  25. :2
  26. echo you chose ARC-to-PAK
  27. goto done
  28. :1
  29. echo You chose ARC-to-ZIP
  30. goto done
  31. :0
  32. echo User hit ESC
  33. goto done
  34. ;
  35. ; Default color menu
  36. ;
  37. $default
  38. ;
  39. 10 
  40. 30 
  41.    Archive Tools  
  42.      ARC-to-ZIP   
  43.      ARC-to-PAK 
  44.      PAK-to-ZIP 
  45.      ARC-to-LZH 
  46.      PAK-to-LZH 
  47.      ZIP-to-LZH 
  48. ;
  49. ; User defined color menu
  50. ;
  51. $defined
  52. ;
  53. 10 
  54. 30 
  55. -5
  56. 4
  57. 124
  58.    Archive Tools   
  59.      ARC-to-ZIP   
  60.      ARC-to-PAK 
  61.      PAK-to-ZIP 
  62.      ARC-to-LZH 
  63.      PAK-to-LZH 
  64.      ZIP-to-LZH 
  65. $end_menu
  66. :done
  67.  
  68.